package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class EstateProjectActivityGoodsOrderRefundAuditExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public EstateProjectActivityGoodsOrderRefundAuditExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public EstateProjectActivityGoodsOrderRefundAuditExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public EstateProjectActivityGoodsOrderRefundAuditExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        EstateProjectActivityGoodsOrderRefundAuditExample example = new EstateProjectActivityGoodsOrderRefundAuditExample();
        return example.createCriteria();
    }

    public EstateProjectActivityGoodsOrderRefundAuditExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public EstateProjectActivityGoodsOrderRefundAuditExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public EstateProjectActivityGoodsOrderRefundAuditExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsOrderRefundAuditExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsOrderRefundAuditExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAuditIdIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId is null");
            return (Criteria) this;
        }

        public Criteria andAuditIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId is not null");
            return (Criteria) this;
        }

        public Criteria andAuditIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId =", value, "auditId");
            return (Criteria) this;
        }

        public Criteria andAuditIdEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId <>", value, "auditId");
            return (Criteria) this;
        }

        public Criteria andAuditIdNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId >", value, "auditId");
            return (Criteria) this;
        }

        public Criteria andAuditIdGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId >=", value, "auditId");
            return (Criteria) this;
        }

        public Criteria andAuditIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId <", value, "auditId");
            return (Criteria) this;
        }

        public Criteria andAuditIdLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId <=", value, "auditId");
            return (Criteria) this;
        }

        public Criteria andAuditIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId in", values, "auditId");
            return (Criteria) this;
        }

        public Criteria andAuditIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId not in", values, "auditId");
            return (Criteria) this;
        }

        public Criteria andAuditIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId between", value1, value2, "auditId");
            return (Criteria) this;
        }

        public Criteria andAuditIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditId not between", value1, value2, "auditId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderId not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo is null");
            return (Criteria) this;
        }

        public Criteria andOrderNoIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo =", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderNo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo <>", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderNo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo >", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderNo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo >=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderNo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo <", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderNo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo <=", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.OrderNo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderNoLike(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo not like", value, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo not in", values, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andOrderNoNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.OrderNo not between", value1, value2, "orderNo");
            return (Criteria) this;
        }

        public Criteria andRefundPriceIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice is null");
            return (Criteria) this;
        }

        public Criteria andRefundPriceIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice is not null");
            return (Criteria) this;
        }

        public Criteria andRefundPriceEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice =", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.RefundPrice = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceNotEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice <>", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.RefundPrice <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceGreaterThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice >", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.RefundPrice > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice >=", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.RefundPrice >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceLessThan(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice <", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.RefundPrice < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice <=", value, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.RefundPrice <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundPriceIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice in", values, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceNotIn(List<BigDecimal> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice not in", values, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice between", value1, value2, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andRefundPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.RefundPrice not between", value1, value2, "refundPrice");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId is null");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId is not null");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId =", value, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId <>", value, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId >", value, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId >=", value, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId <", value, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId <=", value, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId in", values, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId not in", values, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId between", value1, value2, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andInitiateRefundUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.InitiateRefundUserId not between", value1, value2, "initiateRefundUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId is null");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId is not null");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId =", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditUserId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId <>", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditUserId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditUserIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId >", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditUserId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId >=", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditUserId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditUserIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId <", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditUserId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId <=", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.AuditUserId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAuditUserIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId in", values, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId not in", values, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId between", value1, value2, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.AuditUserId not between", value1, value2, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`Status` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`Status` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`Status` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`Status` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`Status` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`Status` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`Status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Remark = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Remark <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Remark > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Remark >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Remark < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Remark <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsOrderRefundAudit.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodsorderrefundaudit.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodsorderrefundaudit.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private EstateProjectActivityGoodsOrderRefundAuditExample example;

        protected Criteria(EstateProjectActivityGoodsOrderRefundAuditExample example) {
            super();
            this.example = example;
        }

        public EstateProjectActivityGoodsOrderRefundAuditExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(EstateProjectActivityGoodsOrderRefundAudit.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(EstateProjectActivityGoodsOrderRefundAudit.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrderRefundAuditExample example);
    }
}